<!DOCTYPE html>
<html>
<head>
    <title>CSS动画示例</title>
    <style>
        body { 
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #1a2980, #26d0ce);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Segoe UI', sans-serif;
            overflow: hidden;
        }
        
        .card {
            width: 300px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
            backdrop-filter: blur(10px);
            transform: translateY(0);
            animation: float 4s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0); }
        }
        
        .profile {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            background: linear-gradient(45deg, #1a2980, #26d0ce);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }
        
        h1 {
            color: #1a2980;
            margin-bottom: 10px;
            font-size: 1.8rem;
        }
        
        .title {
            color: #26d0ce;
            font-weight: 600;
            margin-bottom: 20px;
        }
        
        .btn {
            display: inline-block;
            background: linear-gradient(to right, #1a2980, #26d0ce);
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            box-shadow: 0 5px 15px rgba(26,41,128,0.3);
            transition: all 0.3s;
        }
        
        .btn:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(26,41,128,0.4);
        }
    </style>
</head>
<body>
    <div class="card">
        <div class="profile">
            <i class="fas fa-user"></i>
        </div>
        <h1>张小明</h1>
        <p class="title">高级前端工程师</p>
        <p>5年Web开发经验，专注于创建响应式用户界面和交互体验</p>
        <a href="#" class="btn">查看作品集</a>
    </div>
</body>
</html>